/*
* Copyright (c) 2011 Connection Road.  All rights reserved.
* This program and the accompanying material are made available
* under the terms of the Eclipse Public Licnese v1.0 which is
* available at http://www.eclipse.org/legal/epl-v10.html
*/

using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CrSyncFilesUtils
{
    public class FileSynchronizerManager
    {
        public FileSynchronizerManager(List<FileSyncPairInfo> folderPairs, bool previewMode, SettingsBase applicationSettings ,string syncProvider)
        {
            _folderpairs = folderPairs;
            _previewMode = previewMode;
            _syncProvider = syncProvider;
            _applicationSettings = applicationSettings;
        }

        public FileSynchronizerManager(string syncProvider)
        {
            _syncProvider = syncProvider;
        }

        

        private List<FileSyncPairInfo> _folderpairs;
        private SettingsBase _applicationSettings;
        private string _syncProvider;
        private bool _previewMode;

        public IFileSynchronizer GetSynchronizer()
        {
            return new FileSynchronizerFiles(_folderpairs, _previewMode);
        }

        public bool IsCloudEnabled()
        {
            return false;
        }
    }
}
